package com.api.demo.dto.business.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description: 订单明细DTO
 * @author: yanming
 * @createDate: 2022/12/28 11:46
 */
@Data
public class AddPaymentOrderWorkerDTO implements Serializable {

    private static final long serialVersionUID = 8596276064378218574L;

    @ApiModelProperty(value = "创客姓名", required = true)
    @NotBlank(message = "创客姓名不能为空")
    private String workerName;

    @ApiModelProperty(value = "手机号码", required = true)
    @NotBlank(message = "手机号码不能为空")
    private String mobileCode;

    @ApiModelProperty(value = "身份证号", required = true)
    @NotBlank(message = "身份证号不能为空")
    private String idCardCode;

    @ApiModelProperty(value = "开户行", required = true)
    private String bankName;

    @ApiModelProperty(value = "银行卡号", required = true)
    @NotBlank(message = "银行卡号不能为空")
    private String bankCode;

    @ApiModelProperty(value = "发放金额", required = true)
    @NotNull(message = "发放金额不能为空")
    private BigDecimal realMoney;

}